﻿using System;

namespace Microsoft.SPOT.Hardware
{
    public sealed class InterruptPort : InputPort
    {
        public InterruptPort(Cpu.Pin portId, bool glitchFilter,
            Port.ResistorMode resistor, Port.InterruptMode interrupt)
            : base(portId, glitchFilter, resistor)
        {
            Interrupt = interrupt;
        }

        public Port.InterruptMode Interrupt { get; set; }

        public void ClearInterrupt()
        {
        }

        public override void DisableInterrupt()
        {
        }

        public override void EnableInterrupt()
        {
        }
    }
}